package liuyang.bigeventserver.modules.article.vo;

import jakarta.validation.constraints.NotNull;
import liuyang.bigeventserver.modules.article.validation.State;
import lombok.Data;

/**
 * @author xconf
 * @since 2024/3/3
 */
@Data
public class QueryArticle {
    @NotNull
    public Integer pageNum;
    @NotNull
    public Integer pageSize;
    public Long categoryId;
    @State // 最终是希望如果该参数传了才判断其内容是否合规。所以修改自定义的@State
    public String state;
}
